// Skeleton.cpp : Defines the entry point for the console application.
//

#include <stdio.h>
#include "Skeleton.h"
#include "Renderer.h"


int main(int argc, char **argv)
{

	Skeleton * skeleton = new Skeleton();
	skeleton->setId(1);
	skeleton->getHead()->getPosition()->x = 0.5;
	skeleton->getHead()->getPosition()->y = 1.0;
	skeleton->getHead()->getPosition()->z = 7.0;

	skeleton->getLElbow()->getPosition()->x = 0.0;
	skeleton->getLElbow()->getPosition()->y = 0.0;
	skeleton->getLElbow()->getPosition()->z = 7.0;

	skeleton->getRElbow()->getPosition()->x = 1.0;
	skeleton->getRElbow()->getPosition()->y = 0.0;
	skeleton->getRElbow()->getPosition()->z = 7.0;


	Renderer::getInstance()->init(argc, argv);
	Renderer::getInstance()->setSkeleton(skeleton);
	Renderer::getInstance()->beginRenderingLoop();

	printf("Oprima una tecla para terminar ...");
	getchar();

	return 0;
}

